//
// Created by lihengliu on 2023/2/26.
//

#ifndef JNIDEMO_JNI_FLOAT_UTIL_H
#define JNIDEMO_JNI_FLOAT_UTIL_H
#include <jni.h>
class JNIFloatUtil {
   public:
     jclass createFloatClass(JNIEnv *env);

     jobject createFloatInstanceOfFloat(JNIEnv *env);
     jobject createFloatInstanceOfFloat(JNIEnv *env, jclass class_float);

     jmethodID createFloatConstructorOfFloat(JNIEnv *env);
     jmethodID createFloatConstructorOfFloat(JNIEnv *env,jclass class_float);

     jmethodID createFloatFloatValueMethod(JNIEnv *env);
     jmethodID createFloatFloatValueMethod(JNIEnv *env, jclass class_float);
};

#endif //JNIDEMO_JNI_FLOAT_UTIL_H
